package hn.cch.spring.mvc.boot;

import hn.cch.spring.mvc.boot.configuration.WebServerConfiguration;
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;

public class WebServerApplication {

    public static void main(String[] args) {
        // 启动web服务器
        AnnotationConfigServletWebServerApplicationContext applicationContext =
            new AnnotationConfigServletWebServerApplicationContext(WebServerConfiguration.class);
        applicationContext.close();
    }

}
